package jdk8.method.reference.demo06.constructor.method.reference;

/**
 * 构造方法
 **/
public class Person {
    private String name;

    public Person(){}

    public Person(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
